.PHONY: all clean

# 定义输入和输出文件名
INPUT_FILE := dimension.txt
OUTPUT_FILE := output.pdf

all: $(OUTPUT_FILE)

$(OUTPUT_FILE): $(INPUT_FILE)
	gnuplot -e "input='$<'; output='$@'" generate_plot.gp

clean:
	rm -f $(OUTPUT_FILE)
